$this->session->set_userdata('some_name', 'some_value');
$this->load->library('session');